package net.oschina.app.ui.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import net.oschina.app.R;
import net.oschina.app.adapter.BaseRecyclerViewAdapter;

/**
 * Created by Administrator on 2017/4/6.
 * ?
 */

public class MessageAdapter extends BaseRecyclerViewAdapter {
    public MessageAdapter(Context context) {
        super(context);
    }

    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = View.inflate(parent.getContext(), R.layout.message_center_item, null);
        MessageHolder messageHolder = new MessageHolder(view);
        return messageHolder;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {
        super.onBindViewHolder(holder, position);
    }

    @Override
    public int getItemCount() {
        return 10;
    }

    class MessageHolder extends RecyclerView.ViewHolder {
       /* @BindView(R.id.mc_user_desc)
        TextView mDesc;
        @BindView(R.id.mc_user_name)
        TextView mName;
        @BindView(R.id.mc_user_time)
        TextView mTime;
        @BindView(R.id.mc_user_face)
        ImageView mFace;*/
        public MessageHolder(View itemView) {
            super(itemView);
            //ButterKnife.bind(this,itemView);
        }
    }
}
